package com.hl.service;

import com.hl.mapper.ArticleCategoryMapper;
import com.hl.pojo.ArticleCategory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ArticleCategoryServiceImpl implements ArticleCategoryService{
    @Autowired
    private ArticleCategoryMapper articleCategoryMapper;

    @Override
    public Integer add(ArticleCategory articleCategory) {
        return articleCategoryMapper.add(articleCategory);
    }

    @Override
    public Integer del(ArticleCategory articleCategory) {
        return articleCategoryMapper.del(articleCategory);
    }

    @Override
    public Integer update(ArticleCategory articleCategory) {
        return articleCategoryMapper.update(articleCategory);
    }
}
